<%-- 
    Document   : add
    Created on : Dec 19, 2011, 12:24:55 AM
    Author     : Hiru
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>

<%@include file="header.jsp" %>

<div class="content_section">

    <h2>Sell Your Items</h2>

    <p><a href="http://www.templatemo.com" target="_parent">Free CSS Templates</a> are provided by <a href="http://www.templatemo.com" target="_parent">templatemo.com</a> for everyone. Feel free to use this template for your websites. Validate <a href="http://validator.w3.org/check?uri=referer">XHTML</a> &amp; <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a>. Credit goes to <a href="http://www.photovaco.com" target="_blank">Free Photos</a> for photos used in this template. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed et quam vitae ipsum vulputate varius vitae semper nunc. Quisque eget elit quis augue pharetra feugiat.</p>
</div>

<div class="content_section">

    <h2>Item Info</h2>
    <% if (request.getAttribute("message") != null) {%>
    <div class="warning"><%=request.getAttribute("message")%></div>
    <%}%>
    <form action="AddAdvertisementServlet" method="POST" enctype="multipart/form-data">
        <table border="0">
            <tbody>
                <tr>
                    <td>Seller's name</td>
                    <td><input type="text" name="sellerName" value="" class="inputTextBox" /></td>
                </tr>
                <tr>
                    <td>Seller's contact number</td>
                    <td><input type="text" name="sellerContactNum" value="" class="inputTextBox" /></td>
                </tr>
                <tr>
                    <td>Seller's email address</td>
                    <td><input type="text" name="sellerEmail" value="" class="inputTextBox" /></td>
                </tr>
                <tr>
                    <td>Item</td>
                    <td><input type="text" name="item" value="" class="inputTextBox" required="true" /></td>
                </tr>
                <tr>
                    <td>Description</td>
                    <td><input type="text" name="description" value="" class="inputTextBox" /></td>
                </tr>
                <tr>
                    <td>Category</td>
                    <td><input type="text" name="category" value="" class="inputTextBox" /></td>
                </tr>
                <tr>
                    <td>Price</td>
                    <td><input type="text" name="price" value="" class="inputTextBox" required="true"/></td>
                </tr>
                <tr>
                    <td>Dimensions</td>
                    <td><input type="text" name="dimensions" value="" class="inputTextBox" /></td>
                </tr>
                <tr>
                    <td>Weight</td>
                    <td><input type="text" name="weight" value="" class="inputTextBox" /></td>
                </tr>
                <tr>
                    <td>Photographs</td>
                    <td><input type="file" name="images" multiple="true" value="" class="inputTextBox" accept="image/*"/></td>
                </tr>
                <tr>
                    <td>Data sheet</td>
                    <td><input type="file" name="datasheet" value="" class="inputTextBox" accept="application/pdf"/></td>
                </tr>
            </tbody>
        </table>

        <div class="cleaner"></div>

        <input type="submit" value="Submit" class="button"/>
    </form>

</div>

<%@include file="footer.jsp" %>